﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("*********************************");
            Console.WriteLine("*****老虎*****");
            Tiger tiger = new Tiger();
            tiger.leg = 4;
            tiger.Walk();
            tiger.Eat();
            tiger.Sleep();
            tiger.Cry();
            tiger.NightVision();
            tiger.Bite();
            Console.WriteLine("*********************************");
            Console.WriteLine("*****猫*****");
            Cat cat = new Cat();
            cat.leg = 4;
            cat.Walk();
            cat.Eat();
            cat.Sleep();
            cat.Cry();
            cat.NightVision();
            cat.Mouse();
            Console.WriteLine("*********************************");
            Console.WriteLine("*****燕子*****");
            Swallow swallow = new Swallow();
            swallow.leg = 2;
            swallow.Walk();
            swallow.Eat();
            swallow.Sleep();
            swallow.Cry();
            swallow.Fly();
            swallow.Nesting();
            Console.WriteLine("*********************************");
            Console.WriteLine("*****老鹰*****");
            Eagle eagle = new Eagle();
            eagle.leg = 2;
            eagle.Walk();
            eagle.Eat();
            eagle.Sleep();
            eagle.Cry();
            eagle.Fly();
            eagle.Soar();
            Console.ReadKey();
        }
    }
}
